/*
 * 
 * 
 * 
 */
package com.hboxs.asl.service.impl;

import com.hboxs.asl.dao.GlobalConfigDao;
import com.hboxs.asl.entity.GlobalConfig;
import com.hboxs.asl.service.GlobalConfigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Service - 全局设定
 */
@Service("globalConfigServiceImpl")
public class GlobalConfigServiceImpl extends BaseServiceImpl<GlobalConfig, Long> implements GlobalConfigService {

    @Resource(name = "globalConfigDaoImpl")
    private GlobalConfigDao globalConfigDao;

    @Resource(name = "globalConfigDaoImpl")
    public void setBaseDao(GlobalConfigDao globalConfigDao) {
        super.setBaseDao(globalConfigDao);
    }

    @Override
    public GlobalConfig getUniqueness() {
        return globalConfigDao.getUniqueness();
    }
}
